﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace WoodAdmin.Models.ViewModels
{
    public class UpdatePasswordModel
    {
        [Required(ErrorMessage ="请填写原密码！")]
        public string OldPass { get; set; }

        [Required(ErrorMessage = "请填写新密码！")]
        public string NewPass { get; set; }

        [Required(ErrorMessage = "确认新密码！")]
        public string ConfirmPass { get; set; }
    }
}
